<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class template basic_opstream</title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../process.html#doxygen.pipe_8hpp" title="Header &lt;boost/process/v1/pipe.hpp&gt;">
<link rel="prev" href="classboost_1_1process_1_1v1_1_1basic__ipstream.html" title="Class template basic_ipstream">
<link rel="next" href="classboost_1_1process_1_1v1_1_1basic__pipe.html" title="Class template basic_pipe">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
<td align="center"><a href="../../../index.html">Home</a></td>
<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="classboost_1_1process_1_1v1_1_1basic__ipstream.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../process.html#doxygen.pipe_8hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="classboost_1_1process_1_1v1_1_1basic__pipe.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template basic_opstream</span></h2>
<p>boost::process::v1::basic_opstream</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../process.html#doxygen.pipe_8hpp" title="Header &lt;boost/process/v1/pipe.hpp&gt;">boost/process/v1/pipe.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> Traits <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">char_traits</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span> <span class="special">&gt;</span> 
<span class="keyword">class</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">:</span>
  <span class="keyword">public</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">char_traits</span><span class="special">&lt;</span> <span class="identifier">CharT</span> <span class="special">&gt;</span> <span class="special">&gt;</span>
<span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__pipe.html" title="Class template basic_pipe">basic_pipe</a><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f"></a><span class="identifier">pipe_type</span><span class="special">;</span>  
  <span class="keyword">typedef</span> <span class="identifier">CharT</span>                       <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1aad7a9b1c6792c16027096f6d563a433c"></a><span class="identifier">char_type</span><span class="special">;</span>  
  <span class="keyword">typedef</span> <span class="identifier">Traits</span>                      <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a798065e3232ea5d4e3bd1018a4533c3c"></a><span class="identifier">traits_type</span><span class="special">;</span>
  <span class="keyword">typedef</span> <span class="identifier">Traits</span><span class="special">::</span><span class="identifier">int_type</span>            <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a51c76ae1f9f92d72ee2c7eba6a570880"></a><span class="identifier">int_type</span><span class="special">;</span>   
  <span class="keyword">typedef</span> <span class="identifier">Traits</span><span class="special">::</span><span class="identifier">pos_type</span>            <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1af61a56c04c71f85a7a8099278dcee961"></a><span class="identifier">pos_type</span><span class="special">;</span>   
  <span class="keyword">typedef</span> <span class="identifier">Traits</span><span class="special">::</span><span class="identifier">off_type</span>            <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a9b4370e4b52222f343d6b950acc35082"></a><span class="identifier">off_type</span><span class="special">;</span>   

  <span class="comment">// <a class="link" href="boost_container_header_reference/classboost_1_1container_1_1devector.html#id17-bb">public member functions</a></span>
  <a class="link" href="structboost_1_1process_1_1v1_1_1basic__pipebuf.html" title="Struct template basic_pipebuf">basic_pipebuf</a><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <span class="special">*</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1ae7414937ed33fa034dcbb214b96abc62"><span class="identifier">rdbuf</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a48e9f8c003f3cbdce15f5de279504a5b"><span class="identifier">basic_opstream</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a72dd78afc2014d65fb3b636c53f3eb0b"><span class="identifier">basic_opstream</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a2367c62915b227423009444868320d84"><span class="identifier">basic_opstream</span></a><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a790b357a331bd7660c5e83b758012acc"><span class="identifier">basic_opstream</span></a><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a4319a0f352f697064b78c8415ec452c7"><span class="identifier">basic_opstream</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afcf89090c8d025a9724ff73cd105eb19"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a4d96cc439c10ba71ed326a4ec9212c60"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a88968a9272c55a7e5cccced764f2af32"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a63eb60e505467a99d7d2bbdfdd747c0d"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1aaaf67e8a00959e15054d0892ed08bf53"><span class="identifier">pipe</span></a><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a91060b4826f7ec891523637f2dd5d149"><span class="identifier">pipe</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a7de1a70a45c35c7f5eba67e02c9e3dd9"><span class="identifier">pipe</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a98694082b4f62fbaf0bac5ac81430736"><span class="identifier">pipe</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1af06f92c71667e42c4530edcc86c312f0"><span class="identifier">pipe</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1adfbe9bc86fe094cd8d0b43d57d06aa87"><span class="identifier">open</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1aa77aa9b78d6d739a9d653c1077985e3e"><span class="identifier">open</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a86ed293c4fd24a442dacd2dfd8205b90"><span class="identifier">close</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.30.4.8.19.4.4"></a><h2>Description</h2>
<p>Implementation of a write pipe stream. </p>
<div class="refsect2">
<a name="id-1.3.30.4.8.19.4.4.3"></a><h3>
<a name="id17-bb"></a><code class="computeroutput">basic_opstream</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v1_1_1basic__pipebuf.html" title="Struct template basic_pipebuf">basic_pipebuf</a><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <span class="special">*</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1ae7414937ed33fa034dcbb214b96abc62"></a><span class="identifier">rdbuf</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Get access to the underlying stream_buf. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a48e9f8c003f3cbdce15f5de279504a5b"></a><span class="identifier">basic_opstream</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Default constructor. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a72dd78afc2014d65fb3b636c53f3eb0b"></a><span class="identifier">basic_opstream</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span></pre>Copy constructor. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a2367c62915b227423009444868320d84"></a><span class="identifier">basic_opstream</span><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;&amp;</span> lhs<span class="special">)</span><span class="special">;</span></pre>Move constructor. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a790b357a331bd7660c5e83b758012acc"></a><span class="identifier">basic_opstream</span><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;&amp;</span> p<span class="special">)</span><span class="special">;</span></pre>Move construct from a pipe. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a4319a0f352f697064b78c8415ec452c7"></a><span class="identifier">basic_opstream</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;</span> p<span class="special">)</span><span class="special">;</span></pre>Copy construct from a pipe. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afcf89090c8d025a9724ff73cd105eb19"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span></pre>Copy assignment. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a4d96cc439c10ba71ed326a4ec9212c60"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;&amp;</span> lhs<span class="special">)</span><span class="special">;</span></pre>Move assignment. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a88968a9272c55a7e5cccced764f2af32"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;&amp;</span> p<span class="special">)</span><span class="special">;</span></pre>Move assignment of a pipe. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html" title="Class template basic_opstream">basic_opstream</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a63eb60e505467a99d7d2bbdfdd747c0d"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;</span> p<span class="special">)</span><span class="special">;</span></pre>Copy assignment of a pipe. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1aaaf67e8a00959e15054d0892ed08bf53"></a><span class="identifier">pipe</span><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;&amp;</span> p<span class="special">)</span><span class="special">;</span></pre>Set the pipe of the streambuf. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a91060b4826f7ec891523637f2dd5d149"></a><span class="identifier">pipe</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;</span> p<span class="special">)</span><span class="special">;</span></pre>Set the pipe of the streambuf. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a7de1a70a45c35c7f5eba67e02c9e3dd9"></a><span class="identifier">pipe</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Get a reference to the pipe. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">const</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a98694082b4f62fbaf0bac5ac81430736"></a><span class="identifier">pipe</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Get a const reference to the pipe. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__opstream.html#doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1afeb9f012d1ed7524046d3de969cfbc6f">pipe_type</a> <span class="special">&amp;&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1af06f92c71667e42c4530edcc86c312f0"></a><span class="identifier">pipe</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Get a rvalue reference to the pipe. Qualified as rvalue. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1adfbe9bc86fe094cd8d0b43d57d06aa87"></a><span class="identifier">open</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Open a new pipe. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1aa77aa9b78d6d739a9d653c1077985e3e"></a><span class="identifier">open</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="special">&amp;</span> name<span class="special">)</span><span class="special">;</span></pre>Open a new named pipe. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__opstream_1a86ed293c4fd24a442dacd2dfd8205b90"></a><span class="identifier">close</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Flush the buffer &amp; close the pipe. </li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2006-2012 Julio M. Merino Vidal, Ilya Sokolov,
      Felipe Tanus, Jeff Flinn, Boris Schaeling<br>Copyright © 2016 Klemens D. Morgenstern<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="classboost_1_1process_1_1v1_1_1basic__ipstream.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../process.html#doxygen.pipe_8hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="classboost_1_1process_1_1v1_1_1basic__pipe.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
